<?php


namespace frontend\models\cyf;


use yii\db\ActiveRecord;

class Sign extends ActiveRecord
{
    public static function tableName()
    {
        return '2008a_sign';
    }

    public static function create($params)
    {
        $model = new Sign();
        $model->uid = $params['uid'];
        $model->sign_time = $params['sign_time'];
        $model->score = $params['score'];
        $model->create_time = $params['create_time'];
        return $model->save();
    }
}